package com.wonder.app.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_stk_transferapp")
@ApiModel(value="t_stk_transferapp对象", description="调拨申请单单据头")
public class StkTransferApp extends Model<StkTransferApp> {
    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;


    @TableField(value = "FID")
    @ApiModelProperty(name = "FID" , value = "单据内码")
    private Long FID;

    @TableField(value = "FBILLNO")
    @ApiModelProperty(name = "FBILLNO" , value = "单据编号")
    private String FBILLNO;

    @TableField(value = "FTRANSFERDIRECT")
    @ApiModelProperty(name = "FTRANSFERDIRECT" , value = "调拨方向")
    private String FTRANSFERDIRECT;


    @TableField(value = "FDATE")
    @ApiModelProperty(name = "FDATE" , value = "单据日期")
    private Date FDATE;

    @TableField(value = "FSTOCKUSER")
    @ApiModelProperty(name = "FSTOCKUSER" , value = "仓管员")
    private String FSTOCKUSER;

    @TableField(value = "FNOTE")
    @ApiModelProperty(name = "FNOTE" , value = "备注")
    private String FNOTE;

    @TableField(value = "STATUS")
    @ApiModelProperty(name = "STATUS" , value = "单据状态")
    private String STATUS;

    @TableField(value = "CLOSTSTATUS")
    @ApiModelProperty(name = "CLOSTSTATUS" , value = "关闭状态")
    private Boolean CLOSTSTATUS;

    @TableField(exist = false)
    private StkTransferAppDetaill stkTransferAppDetaill;

}
